package com.checker.designPattern.creation.factory.explain;

import java.util.*;

public class Collection_IteratorExplain {
    public static void main(String[] args) {
        Collection<Integer> arrayList = new ArrayList<>();
        Iterator<Integer> iterator = arrayList.iterator();

        Collection<Integer> linkedList = new LinkedList<>();
        Iterator<Integer> iterator1 = linkedList.iterator();
    }
}
